#!/bin/sh

export AWS_ACCESS_KEY_ID=AKIA3A533FWUXWDG3QPR
export AWS_SECRET_ACCESS_KEY=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
export AWS_REGION=us-west-1

nohup java -Xmx1024m -Xms512m -Xmn256m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/ng/www/logs/ -jar ng-www.jar --spring.profiles.active=release  >/dev/null  2>&1 &
#save pid
echo "$!" > pid
